<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<!-- 
 <c:set  value="${'<strong>test</strong> ' }" var="test"/>
  <c:set  value="${'<strong>test</strong> ' }" var="test" scope="request"/>
 pageScope:<c:out value="${pageScope.test }" escapeXml="false"></c:out></br>
 requestScope:<c:out value="${requestScope.test }">
 
 <strong>default</strong>
 
 </c:out>
 
 <h3>remove</h3>
 
 <c:remove var="test" scope="page"/>
 pageScope:<c:out value="${pageScope.test }" escapeXml="false"></c:out></br>
 requestScope:<c:out value="${requestScope.test }"></c:out>
  -->
  
<form action="doAge.jsp" method="post">
   年龄：<input name="age" />
   <input type="submit" value="提交"/><br/>
   </form>
<%
  int[] arr={2,33,21,43,44,566};
%>
<c:forEach  items="<%=arr %>"  var="num" varStatus="status"
 begin="2">
    ${status.count }:${num }<br/>
</c:forEach>
<hr>

<c:forTokens items="ab,ee;33|123" delims=",;|" var="item">
    ${item }<br/>
</c:forTokens>
<c:url  value="doAge.jsp" var="age">  
 </c:url>
 ${age }

 <c:redirect  url="${age }">
  <c:param name="age" value="40"/>
 </c:redirect>

</body>
</html>